//
//  JdunionHelper.h
//  jdunion_plugin
//
//  Created by Franky Lee on 2022/9/14.
//

#import <Foundation/Foundation.h>
#import <Flutter/Flutter.h>

NS_ASSUME_NONNULL_BEGIN

@interface JdunionHelper : NSObject

/**
 *  JdunionHelper 的单例对象
 */
+ (instancetype)sharedInstance;

// 初始化SDK
- (void)initJdUnion:(NSString *_Nullable)version :(FlutterResult)fResult;

// url打开京东app
- (void)openJDAppByUrl:(NSString *_Nullable)url :(FlutterResult)fResult;

// url打开京喜app
- (void)openJXAppByUrl:(NSString *_Nullable)url :(FlutterResult)fResult;

@end

NS_ASSUME_NONNULL_END
